// 以下是业务服务器API地址
// 本机开发时使用
//var WxApiRoot = 'http://localhost:8080/wx/';
// 局域网测试使用
//var WxApiRoot = 'http://192.168.1.102:8080/wx/';
// 办公室局域网测试使用
//var WxApiRoot = 'http://172.16.141.68:8080/wx/';
// 云平台部署时使用
//var WxApiRoot = 'http://172.16.141.68:8080/wx/';
// 云平台上线时使用
var WxApiRoot = 'https://picc.zhyangfan.cn/wx/';

module.exports = {
  AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录
  AuthLoginByAccount: WxApiRoot + 'auth/login', //账号登录
  AuthLogout: WxApiRoot + 'auth/logout', //账号登出
  AuthRegister: WxApiRoot + 'auth/register', //账号注册
  AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
  AuthRegisterCaptcha: WxApiRoot + 'auth/regCaptcha', //验证码
  AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号

  SearchIndex: WxApiRoot + 'search/index', //搜索关键字
  SearchResult: WxApiRoot + 'search/result', //搜索结果
  SearchHelper: WxApiRoot + 'search/helper', //搜索帮助
  SearchClearHistory: WxApiRoot + 'search/clearhistory', //搜索历史清楚
  getArticleList: WxApiRoot + 'articles/list', //获取文章list接口
  PatientInfoSubmit: WxApiRoot + 'patients/create', //提交用户资料
  NurseInfoSubmit: WxApiRoot + 'nurse/create', //提交护士资料
  PatientInfoList: WxApiRoot + 'patients/detail', //查询用户资料
  NurseInfoList: WxApiRoot + 'nurse/detail', //查询护士资料
  getMeasureList: WxApiRoot + 'measure/list', //获取每天提交的测量报告接口
  putMeasure: WxApiRoot + 'measure/create', //提交测量报告
  getNurseInfo: WxApiRoot + 'nurse/detail', //获取护士的详细信息
  getPatientInfo: WxApiRoot + 'patients/detail', //获取病人的详细信息
  MaintainInfoList: WxApiRoot + 'measure/all', //查询维护记录
  MyPatientInfoList: WxApiRoot + 'patients/list', //查询我的病人
  messageSend: WxApiRoot + 'messages/create', //发送消息接口
  getMessageRecords: WxApiRoot + 'messages/content', //获取聊天记录
  storageUpload: WxApiRoot + 'storage/upload',//上传图片
  videoUpload: 'https://picc-admin.oss-cn-beijing.aliyuncs.com', //上传视频
  messageList: WxApiRoot + 'messages/infolist',//护士聊天预览
  verifyPatient: WxApiRoot + 'patients/verify',//审核病人
  verifyStatus: WxApiRoot + 'auth/status',//查询审核状态
  uploadArticel: WxApiRoot + 'articles/create',//上传文章
  timeout: 87600,
  accesskey:'WTa7Dl7LqlXOCjsj5CxpC84kG4qqIG',
  accessid:'LTAIbFlQw18t8QnM'
}